import {Outlet} from 'react-router-dom'
import AsideMenu from './AsideMenu'
import './layout.scss'

 export function Layout(){
    return(
        <div className='layout'>
            <div className='header'>header</div>
            <div className='container'>
                 <div className='aside'>
                    <AsideMenu></AsideMenu>
                 </div>
                 <div className='main'>
                    {/* 子路由显示位置 */}
                    <Outlet></Outlet>
                </div>
            </div>
        </div>
    )
 }

 export default Layout